<?php
use app\assets\AdminLoginAsset;
use yii\bootstrap\ActiveForm;
use yii\helpers\Html;

AdminLoginAsset::register($this);
?>
<?php $this->beginPage();?>

<!DOCTYPE html>
<html class="login-bg">
<head>
	<title>慕课商城 - 后台管理</title>

	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <?php $this->head(); ?>




    <!-- open sans font -->

    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<body>


    <div class="row-fluid login-wrapper">
    <a class="brand" href="<?php echo yii\helpers\Url::to(['/index/index']) ?>"></a>
        <?php $form = ActiveForm::begin([
            'fieldConfig' => [
                'template' => '{error}{input}',
            ],
        ]); ?>
        <div class="span4 box">
            <div class="content-wrap">
                <h6>慕课商城 - 找回密码</h6>

            </div>
        </div>
        <?php ActiveForm::end(); ?>
    </div>


<?php $js = <<<JS
        $(function () {
            // bg switcher
            var $btns = $(".bg-switch .bg");
            $btns.click(function (e) {
                e.preventDefault();
                $btns.removeClass("active");
                $(this).addClass("active");
                var bg = $(this).data("img");

                $("html").css("background-image", "url('img/bgs/" + bg + "')");
            });

        });
JS;

$this->registerJs($js);


?>

<?php $this->endBody();?>
</body>
</html>
<?php $this->endPage();?>
